package com.wutong.authority_server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wutong.authority_server.entity.User;
import org.springframework.security.core.GrantedAuthority;

import java.util.List;

public interface UserService extends IService<User> {

    // 从数据库中取出用户信息
    User selectByUsername(String username);

    List<GrantedAuthority> getUserAuthorityInfo(Integer userId);

}
